import request from "@/utils/request"

export function projectPage(params: any) {
  return request({
    params,
    url: "bpo-attendance/project/page",
    method: "get",
  })
}

export function projectAdd(data: any) {
  return request({
    data,
    url: "bpo-attendance/project/add",
    method: "post",
  })
}

export function projectEdit(data: any) {
  return request({
    data,
    url: "bpo-attendance/project/edit",
    method: "post",
  })
}

export function projectGetInfo(params: any) {
  return request({
    params,
    url: "bpo-attendance/project/getInfo",
    method: "get",
  })
}

export function changeStatus(params: any) {
  return request({
    params,
    url: "bpo-attendance/project/changeStatus",
    method: "get",
  })
}

export function delByIds(params: any) {
  return request({
    params,
    url: "bpo-attendance/project/delByIds",
    method: "get",
  })
}